package com.topsec.erp.util.CustomAnnotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Target;

/**
 * 类说明：空指针验证类
 *
 * @Idea IntelliJ IDEA
 * @Since JDK：1.8.0_102
 * @Date 2019-11-25 16:34
 * @Program erp
 * @ClassName DateIsEmptyAnnotation
 * @Version V1.0
 * @Author hyq
 */
@Documented
@Inherited
@Target(ElementType.FIELD)
public @interface DataIsEmpty {
    public boolean isEmpty() default true;

    public String message() default "字段不能为空！";
}
